package com.ruoyi.bussiness.mapper;

import com.ruoyi.bussiness.domain.SysBusinessDynamicType;
import com.ruoyi.bussiness.domain.SysBusinessExpert;

import java.util.List;

/**
 * 学者风采Mapper接口
 *
 * @author ruoyi
 * @date 2024-01-23
 */
public interface SysBusinessExpertMapper
{
    /**
     * 查询学者风采
     *
     * @param id 学者风采主键
     * @return 学者风采
     */
    public SysBusinessExpert selectSysBusinessExpertById(Long id);

    /**
     * 查询学者风采列表
     *
     * @param sysBusinessExpert 学者风采
     * @return 学者风采集合
     */
    public List<SysBusinessExpert> selectSysBusinessExpertList(SysBusinessExpert sysBusinessExpert);

    /**
     * 新增学者风采
     *
     * @param sysBusinessExpert 学者风采
     * @return 结果
     */
    public int insertSysBusinessExpert(SysBusinessExpert sysBusinessExpert);

    /**
     * 修改学者风采
     *
     * @param sysBusinessExpert 学者风采
     * @return 结果
     */
    public int updateSysBusinessExpert(SysBusinessExpert sysBusinessExpert);

    /**
     * 删除学者风采
     *
     * @param id 学者风采主键
     * @return 结果
     */
    public int deleteSysBusinessExpertById(Long id);

    /**
     * 批量删除学者风采
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBusinessExpertByIds(Long[] ids);


    SysBusinessExpert getLastList(Integer orderNum);

    SysBusinessExpert getNextList(Integer orderNum);

    int updateOrderNum(Long id);
}
